sandwiches_orders = ['培根三明治', '鸡蛋三明治', '火腿三明治','鸡蛋三明治','鸡蛋三明治']
finished_sandwiches = []

# while sandwiches_orders:
#     sandwich = sandwiches_orders.pop()
#     print(f"{sandwich} have been made")
#     finished_sandwiches.append(sandwich)
#
# print("\n所有三明治做好了")
# for finished_sandwich in finished_sandwiches:
#     print(finished_sandwich)
print("鸡蛋三明治卖完了")
while '鸡蛋三明治' in sandwiches_orders:
    sandwiches_orders.remove('鸡蛋三明治')
print(sandwiches_orders)